package showtime.framework.display
{
	import flash.display.BitmapData;
	
	/** 
	 * @project showtime
	 * @author yinhao
	 * @date 2011-2-4
	 *
	 */

	public class TileBitmapData extends BitmapData
	{
		public var id:int = 0;
		
		public var offsetX:int = 0;
		
		public var offsetY:int = 0;
		
		public function TileBitmapData(width:int, height:int, transparent:Boolean = true, fillColor:uint = 4.294967295E9)
		{
			super(width, height, transparent, fillColor);
		}
		
		public function toString():String
		{
			return <tile id={id} offsetX={offsetX} offsetY={offsetY}/>;
		}
	}
}